<template>
  <div>
    <h1>{{ Hello }}</h1>
    <button @click="Fn">翻转</button>
  </div>
</template>

<script>
export default {
  data() {
    return {
      Hello: "Hello,World",
    };
  },
  methods: {
    Fn() {
      this.Hello = this.Hello.split("").reverse().join("");
    },
  },
};
</script>

<style>
</style>